import request from '@/utils/request'

// 查询客流量列表
export function listTouristNumbers(query) {
  return request({
    url: '/app/touristNumbers/list',
    method: 'get',
    params: query
  })
}
// 查询客流量详细
export function getTouristNumbers(id) {
  return request({
    url: '/app/touristNumbers/' + id,
    method: 'get'
  })
}

// 新增客流量
export function addTouristNumbers(data) {
  return request({
    url: '/app/touristNumbers',
    method: 'post',
    data: data
  })
}

// 修改客流量
export function updateTouristNumbers(data) {
  return request({
    url: '/app/touristNumbers',
    method: 'put',
    data: data
  })
}

// 删除客流量
export function delTouristNumbers(id) {
  return request({
    url: '/app/touristNumbers/' + id,
    method: 'delete'
  })
}
